package com.intellagric.service.iftmonitor.ift_network;

import com.intellagric.common.pojo.LayuiDataGridResult;
import com.intellagric.common.pojo.ResponseMessage;
import com.intellagric.pojo.IftNetworkType;

/**
 * @Author: zhy
 * @email: 1269679946@qq.com
 * @Date: 2018/10/23
 * @DESC： 网络类型管理服务接口
 */
public interface NetworkTypeService {

    //增加设备分类信息
    ResponseMessage addNetworkType(IftNetworkType networkType);

    //删除设备分类
    ResponseMessage deleteNetworkType(String id);

    //修改设备分类
    ResponseMessage editNetworkType(IftNetworkType networkType);

    //查询设备分类
    IftNetworkType getNetworkTypeById(String id);
    LayuiDataGridResult getNetworkTypeList();

    //通过父分类查询
    LayuiDataGridResult getNetworkTypeByPid(String parentId);
    //查询分类信息，并生成树形数据
    LayuiDataGridResult getNetworkTypeTree();

}
